﻿//Documento Pronto
$(function () {
    //configurando tooltip campos
    $(".tooltipfield").tooltip({ placement: 'auto left' });
    $("form").validate({
        errorElement: "em",
        errorContainer: $("#warning, #summary"),
        errorPlacement: function (error, element) {
            error.appendTo(element.parent("td").next("td"));
        }
    });
    MaskObjects();
    var validador = $("form").validate();
    $.validator.addClassRules({
        required: {
            required: true
        }
    });

});
